<%@ page session="false"%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="mybox">
	<div class="mytit">站内短信</div>
	<div class="con">
		<div id="pCenter" class="pCenter">
			<div class="at_tab_t">
				<a class="at_but b_2_g write_msg" href="####" onClick="at_sms('');return false"><u></u>写站内信</a>
				<a class="at_tab_i<c:if test="${lmenucls=='6'}"> at_current</c:if>" href="<%=request.getContextPath() %>/message/inbox">收件箱</a>
				<a class="at_tab_i<c:if test="${lmenucls=='9'}"> at_current</c:if>" href="<%=request.getContextPath() %>/message/system">系统消息</a>
			</div>
			<div class="at_tab_c">
			<tiles:insertAttribute name="sub_content"/>
			</div>
		</div>
	</div>
</div>
<script>
function vdel(url) {
	at_infoTrace.show("删除后将不可恢复，你确认要删除吗？", "i", null, [
		at_traces_i.getButton("确定", "yellow", function(){
			 at_loading.show();
			 $.ajax({
					url: url,
					success: function(json){
						at_infoTrace.show(json.message,"o",3000,[
							at_traces_i.getButton("确定", "gray", "close")
						]);
						at_loading.hide();
						setTimeout(function(){window.location.href=path + '/message/inbox'},3000);
						at_loading.hide();
					}
				});
		 }),
		at_traces_i.getButton("取消", "gray", "close")
	])
}
</script>